package behavioral.template_method;

/**
 * @ClassName: Adder
 * @Description: 子类算法实现：加法器
 * @Author: liu-hao
 * @Date: 2023-04-11 23:51
 * @Version: 1.0
 **/
public class Adder extends AbstractCalculator {
    @Override
    public int cal(int num1, int num2) {
        return num1 + num2;
    }
}
